project (DAndT)

cmake_minimum_required (VERSION 2.6)

find_package(OpenCV REQUIRED)

if(NOT CMAKE_BUILD_TYPE)
    set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type" FORCE)
endif()

add_definitions ("-Wall")

include_directories(${OpenCV_INCLUDE_DIRS})

add_executable (DAndT demo_91_detec_track.cpp KCF/fhog.cpp KCF/kcftracker.cpp)

target_link_libraries(DAndT ${OpenCV_LIBS})

